home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / doc / www-talk.archive.Z / www-talk.archive / text0359.txt < prev    next >
Encoding:
Text File  |  1992-11-30  |  1.3 KB  |  32 lines

  1. >I've noticed occasionally that trying to contact an http server that
  2. >seems to be down (at least with ViolaWWW & MidasWWW) will result in
  3. >hangs (or very very long pauses).  Shouldn't a 30-second timeout or
  4. >something similar be in effect at all times?
  5.  
  6. The way I would like MidasWWW to work is that it would try to connect for about 
  7. 2 seconds, after which a dialog box would pop up looking something like:
  8.  
  9.                   ------------------------------------
  10.                   |    Connecting to XXX.XXX.XXX...  |
  11.                   |                                  |
  12.                   |            -----------           | 
  13.                   |            | Abort!  |           |
  14.                   ------------------------------------
  15.  
  16. Where you click on abort if you get tired of waiting.
  17.  
  18. Only problem is that I don't know how to achieve this, since the Unix "connect"
  19. routine I use to connect to the remote server is synchronous. If anyone has
  20. an example of a portable way to asnychronously connect over TCPIP I would be
  21. happy to incoportate it. (In fact I don't even know how to set the timeout
  22. period). 
  23.  
  24. >Also, is there any way to specify backup servers?  Does anyone else
  25. >think this would be useful?
  26.  
  27. Yes this would be very useful, especially for the "master indexes" such as 
  28. "academic information" at CERN. Probably not so easy to provide though...
  29.  
  30. Tony
  31.  
  32.